package apig.servlet.access.policy;

import apig.client.serviface.*;
import apig.servlet.access.*;

public class ProfAccessPolicy implements
		PermissionPolicy {

	@Override
	public boolean isPermissionGranted(UserData ud, ResourceDescription rd) {
		if (ud.role == UserData.ROLE_PROF) {
			return true;
		} else {
			return false;
		}
	}
}
